import {request} from '@/plugins/axios'
import ApiPath from '@/utils/api_paths'
import qs from 'qs'
export function refreshToken(data) {
    return request({
        headers: {'Content-Type': 'application/x-www-form-urlencoded'},
        url: ApiPath.token.refresh,
        method: 'post',
        data,
        transformRequest: [function (data) {
            return qs.stringify(data);
        }]
    })
}
